package com.puzzlebazar.client.main.control;


import com.puzzlebazar.client.main.control.MainController;
import com.puzzlebazar.client.main.view.MainView;
import com.puzzlebazar.client.user.UserModel;

public abstract class MainState extends HistoryStateImpl {
	
	protected final UserModel userModel;
	protected final MainView view;
	protected final MainController controller;	

	/**
	 * Creates an empty state
	 * 
	 * @param userModel The associated user model
	 * @param view The associated main view 
	 * @param controller The associated main controller
	 */
	public MainState( UserModel userModel, MainView view, 
			MainController controller ) {
		super( controller );
		this.view = view;
		this.userModel = userModel;
		this.controller = controller;
	}
	

	@Override
	public void release() {
		super.release();
	}
}
